<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body th:fragment="page">
    <!--当前页码-->
    <input type="hidden" th:value="${pageInfo?.page}" th:name="pageNum" id="pageNum"/>
    <input type="hidden" th:value="${pageInfo?.pageSize}" th:name="limit" id="limit"/>
    <!--总页数-->
    <input type="hidden" th:value="${pageInfo?.total}" id="pages"/>
    <div  id="paging" style="float: right;">
    </div>
</body>
</html>